<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<div id="team-content">
	<%
		if (request.getParameter("page").equals("about")) {
			String pagenum = request.getParameter("about_page");
			System.out.println(pagenum);
			if (pagenum == null)
				pagenum = "1";
			if (pagenum.equals("1") && !pagenum.equals("2")
					&& !pagenum.equals("3")) {
				System.err.println("CO JEST");
	%>
	<jsp:include page="about_1.jsp" />
	<div class="pagination">
		<ul>
			<a href="index.jsp?page=about&about_page=1"><li class="active">1</li></a>
			<a href="index.jsp?page=about&about_page=2"><li>2</li></a>
			<a href="index.jsp?page=about&about_page=3"><li>3</li></a>
		</ul>
	</div>
	<%
		} else if (pagenum.equals("2")) {
	%>
	<jsp:include page="about_2.jsp" />
	<div class="pagination">
		<ul>
			<a href="index.jsp?page=about&about_page=1"><li>1</li></a>
			<a href="index.jsp?page=about&about_page=2"><li class="active">2</li></a>
			<a href="index.jsp?page=about&about_page=3"><li>3</li></a>
		</ul>
	</div>
	<%
		} else if (pagenum.equals("3")) {
	%>
	<jsp:include page="about_3.jsp" />
	<div class="pagination">
		<ul>
			<a href="index.jsp?page=about&about_page=1"><li>1</li></a>
			<a href="index.jsp?page=about&about_page=2"><li>2</li></a>
			<a href="index.jsp?page=about&about_page=3"><li class="active">3</li></a>
		</ul>
	</div>
	<%
		}
		} else
			System.out.println("Buuuch");
	%>
</div>